import './index.css'
import righttopbaseshareimg from '../../assets/20230517164415.png'
import serverimg from '../../assets/16863946-6078152a45f9370e8cd9d9b2fe4880c4.jpg'

export default function (props) {
    return (
        <div className={props.search ? 'columnsitem-search' : 'columnsitem'}>
            <div className='columnsitemin shadows'>
                <div className='columnsitemimg'>
                    <img src={props.server ? serverimg : righttopbaseshareimg} width='100%' height='100%' style={{ position: 'absolute', top: 0, left: 0 }} alt="" />
                </div>
                <div className='columnsitemcont'>
                    <div className='columnsitemcont-title'>名称：XXXX</div>
                    <div className='columnsitemcont-desc'>描述：XXXX</div>
                </div>
            </div>
        </div>
    )
}